SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48155: An out-of-memory exception might occur in the SAS® Add-In for Microsoft Office when previewing results that include 100 columns

DetailsHotfixAboutRate It

Within the SAS Add-In for Microsoft Office, you have the ability to filter and sort your data, and then preview results before opening the results into a worksheet. However, if you display the maximum of 100 columns in the preview window, the following error might occur when you attempt to open the data into the worksheet.

System.OutOfMemoryException: Exception of type 'System.OutOfMemroyException' was
thrown.
  at System.Collections.Generic.List'1.set_Capacity(Int32 value)
  at System.Collections.Generic.List'1.EnsureCapacity(Int32 value)
  at System.Collections.Generic.List'1.InsertRange(Int32 index, IEnumerable'1
collection)
  at SAS.Servers.DatasetColumn.UpdateValues(IList'1 rawValues, IList'1
formattedValues)
  at SAS.Servers.Dataset.Read(Int32 startRow)
  at SAS.OfficeAddin.Rendering.ExcelDataRenderer.RenderSasData(SasDataSource
dataSource, Range destination,RenderState state, RenderOptions options, Int32
CachedRowCount)
  at SAS.OfficeAddin.Excel Addin.ProcessDataView( Job contentxt context, Range
destination)
  at SAS.OfficeAddin.ExcelAddin.ProcessDataViews(JobContext context)
  at SAS.OfficeAddinBase.PostProcessJob(JobContext jobContext, Boolean
promptOnErrors)

To circumvent this error, choose to preview less than 100 columns.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Add-in for Microsoft OfficeMicrosoft® Windows® for x644.36.19.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition4.36.19.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 Enterprise Edition4.36.19.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 Standard Edition4.36.19.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 for x644.36.19.2 TS2M39.4 TS1M0
Microsoft Windows Server 20084.36.19.2 TS2M39.4 TS1M0
Microsoft Windows Server 2008 for x644.36.19.2 TS2M39.4 TS1M0
Microsoft Windows XP Professional4.36.19.2 TS2M39.4 TS1M0
Windows 7 Enterprise 32 bit4.36.19.2 TS2M39.4 TS1M0
Windows 7 Enterprise x644.36.19.2 TS2M39.4 TS1M0
Windows 7 Home Premium 32 bit4.36.19.2 TS2M39.4 TS1M0
Windows 7 Home Premium x644.36.19.2 TS2M39.4 TS1M0
Windows 7 Professional 32 bit4.36.19.2 TS2M39.4 TS1M0
Windows 7 Professional x644.36.19.2 TS2M39.4 TS1M0
Windows 7 Ultimate 32 bit4.36.19.2 TS2M39.4 TS1M0
Windows 7 Ultimate x644.36.19.2 TS2M39.4 TS1M0
Windows Vista4.36.19.2 TS2M39.4 TS1M0
Windows Vista for x644.36.19.2 TS2M39.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.